package com.qijian.maindata.domain.query;


import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;

import java.util.List;
import java.util.Set;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 外协比价物料对象 查询条件类
 *
 * @author qijian
 * @date 2022-09-13
 */

@Data
@ToString
@TableName("main_out_compare_item")
public class OutCompareItemQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "main_id")
    private Long mainId;
    @WhereType(filed = "main_id", type = WhereTypeEnum.IN)
    private List<Long> mainIds;
    @WhereType(filed = "out_id")
    private Long outId;
    @WhereType(filed = "out_details_id")
    private Long outDetailsId;
    @WhereType(filed = "project_no", type = WhereTypeEnum.LIKE)
    private String projectNo;
    @WhereType(filed = "supplier_name", tableName = "main_out_compare_item_detail", type = WhereTypeEnum.LIKE)
    private String supplierName;
    @WhereType(filed = "process_name", type = WhereTypeEnum.LIKE)
    private String processName;
        @WhereType(filed = "item_name", type = WhereTypeEnum.LIKE)
    private String itemName;
    @WhereType(filed = "project_no", type = WhereTypeEnum.LIKE)
    private String machineNo;
    @WhereType(filed = "status", tableName = "main_out_compare_item_detail")
    private Integer status;
    @WhereType(filed = "is_default", tableName = "main_out_compare_item_detail")
    private Boolean isDefault;
    @WhereType(filed = "approval_status", tableName = "main_out_compare")
    private String approvalStatus;

}
